大千视界[漫].js 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. var rule = {
  2. title: '大千视界',
  3. host: "https://www.dqsj.top",
  4. class_name: "热门新番&日本动漫&国产动漫&欧美动漫&动漫电影&剧集&电影&综艺",
  5. class_url: "23&21&22&25&24&27&28&31",
  6. //searchUrl: '/index.php/ajax/suggest?mid=1&wd=**&limit=50',
  7. searchUrl: 'https://www.dqsj.top/index.php/vod/search/page/fypage/wd/**.html',
  8. searchable: 2,
  9. quickSearch: 0,
  10. headers: {
  11. 'User-Agent': 'MOBILE_UA',
  12. },
  13. url: '/index.php/api/vod#type=fyclassfyfilter&page=fypage',
  14. filterable: 0,
  15. filter: "H4sIAAAAAAAAAO2bW08bRxTHv8s+U2kWQqB5y/1+v6fKgxtZbVRKJaCRUITkQCC2Q4yJih0aAyWtEyfBNTe1YDD5Mp71+ltk7Tk3q3TFgx/iaN72/zszs/P3zp45O5IfO92uc+S7x85P0VHniPNgIDI87HQ5g5Gfo4Gsre3oxeeBfhQZ+DXabDcYYD1ZqE8UGjgQzliXoV56sbYyCxQExvxPaZ3EHiAwppNr+lMWYiAwVpso+ssxiIGg+8VfeRnsB4L6fVz0ktTPCOr3x7J+XcR+RmCsvvDSe5WHGAgaM77mTUzimEaQh6mX9fn36MEIiqVT+u+PGDOCxpzf0+k4jmkEzXN9x3uKMRD0e6YX/FQCf08jyEPxN29jDj0YQWOOr9Qy9IyMoFiqUEtPYcwI8pB/prd30IMR5OHdLMdA0JhbW158Bsc0gvrlF4PZYT8jqN+TtBfLYD8jyPtyzJ/EZwSC+uXKwUrAfkaI9VItJ3i9NATNJVmqVT7gXIwg76kpPbOO3o2gfn/tVXd/x35G0DyfTOtcGedpBI2ZeMdrCQTGqrsfdAE9gKAxY5XaXgrHNILXfF5vb9KabwryPjfvj6MHEHS/8roupvF+RtCYuaVqGT2AoDGL0358Ecc0guY5nqjN4e8JgsbcS+nVWZ3fwGFJU+/Kjl6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  16. filter_url: "&class={{fl.class}}&area={{fl.area}}&year={{fl.year}}&lang={{fl.lang}}&letter={{fl.letter}}&by={{fl.by}}",
  17. filter_def: "",
  18. filter_def: {},
  19. detailUrl: '/index.php/vod/detail/id/fyid.html',
  20. play_parse: true,
  21. sniffer: 1,
  22. is_video: 'obj/tos|bd.xhscdn|/ugc/',
  23. lazy: $js.toString(() => {
  24. input = {
  25. parse: 1,
  26. url: input,
  27. //js:'try{let urls=Array.from(document.querySelectorAll("iframe")).filter(x=>x.src.includes("?url="));if(urls){location.href=urls[0].src}}catch{}document.querySelector("button").click()',
  28. js: 'try{location.href=document.querySelector("#playleft iframe").src}catch{}document.querySelector("button.swal-button--confirm").click()',
  29. parse_extra: '&is_pc=1&custom_regex=' + rule.is_video,
  30. }
  31. }),
  32. limit: 6,
  33. 推荐: '.border-box.public-r .public-list-box;a&&title;img&&data-src;.public-list-prb&&Text;a&&href',
  34. 一级: $js.toString(() => {
  35. let body = input.split("#")[1];
  36. let t = Math.round(new Date / 1e3).toString();
  37. let key = md5("DS" + t + "DCC147D11943AF75");
  38. let url = input.split("#")[0];
  39. body = body + "&time=" + t + "&key=" + key;
  40. print(body);
  41. fetch_params.body = body;
  42. let html = post(url, fetch_params);
  43. let data = JSON.parse(html);
  44. VODS = data.list.map(function (it) {
  45. it.vod_pic = urljoin2(input.split("/i")[0], it.vod_pic);
  46. return it
  47. });
  48. }),
  49. 二级: {
  50. title: '.slide-info-title&&Text;.slide-info:eq(3)--strong&&Text',
  51. img: '.detail-pic&&data-original',
  52. desc: '.fraction&&Text;.slide-info-remarks:eq(1)&&Text;.slide-info-remarks:eq(2)&&Text;.slide-info:eq(2)--strong&&Text;.slide-info:eq(1)--strong&&Text',
  53. content: '#height_limit&&Text',
  54. tabs: '.anthology.wow.fadeInUp.animated&&.swiper-wrapper&&a',
  55. tab_text: '.swiper-slide&&Text',
  56. lists: '.anthology-list-box:eq(#id) li',
  57. },
  58. //搜索: 'json:list;name;pic;;id',
  59. 搜索: $js.toString(() => {
  60. let html = fetch(input);
  61. let list = pdfa(html, ".public-list-box");
  62. VODS = list.map(x => {
  63. return {
  64. vod_name: pdfh(x, ".thumb-txt&&Text"),
  65. vod_pic: pdfh(x, ".lazy&&data-src"),
  66. vod_remarks: pdfh(x, ".public-list-prb&&Text"),
  67. vod_content: pdfh(x, ".thumb-blurb&&Text"),
  68. vod_id: pdfh(x, "a&&href")
  69. }
  70. });
  71. }),
  72. 图片替换: '&=>&'
  73. }